package com.kaoshi.myweb.web.repository;

import java.util.List;

import com.kaoshi.myweb.web.entity.Role;
import com.kaoshi.myweb.web.repository.core.GenericDao;
import com.kaoshi.myweb.web.repository.core.annotation.MyBatisRepository;


/**
 * 通过@MapperScannerConfigurer扫描目录中的所有接口, 动态在Spring Context中生成实现.
 * 方法名称必须与Mapper.xml中保持一致.
 * 
 * @author calvin
 */
@MyBatisRepository
public interface RoleDao extends GenericDao<Role, Long> {
	List<Role> findAll();
}
